import request from '@/utils/request'

// 企业微信列表
export const listWecomUser = () => {
  return request({
    url: '/wecom/user/list',
    method: 'get'
  })
}
// 上传文件
export function uploadFile(file) {
	const formData = new FormData();
	formData.append('fileList', file)
	return request({
		url: '/api/common/upload',
		headers: {
			"Content-Type": "multipart/form-data"
		},
		method: 'post',
		data: formData
	})
}
